package com.ty.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ty.entity.UserAddress;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ty.resp.CommonResp;

/**
 * <p>
 * 用户地址表 服务类
 * </p>
 *
 * @author txy
 * @since 2024-02-04
 */
public interface IUserAddressService extends IService<UserAddress> {

    CommonResp getAddressByUserId(Page<UserAddress> page, String id, String keyWord);

    CommonResp getAddressById(String addrId, String userId);

    CommonResp deleteAddressById(String addrId);
}
